package com.imooc.product.utils;

import com.imooc.product.vo.ResultVO;

/**
 * @author wy
 * @version 1.0
 * @date 2020/3/3 11:19
 * @description
 **/
public class ResultVOUtil {

    public static ResultVO success(Object object){
        ResultVO resultVO = new ResultVO();
        resultVO.setCode(0);
        resultVO.setMsg("成功");
        resultVO.setData(object);
        return resultVO;
    }
}
